package com.example.wisecarparking.dao;

import com.example.wisecarparking.domain.Record;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RecordMapper {
    //存储一条记录
    void save(Record record);

    //根据id查询一条记录
    Record findOneById(String id);

    //查询所有数据
    List<Record> findAll(Record record);
}
